package cn.lix.sc.rpc.server;

import cn.lix.sc.rpc.server.impl.rpc.EnableRpcServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient
@EnableRpcServer("cn.lix.sc.rpc.service.demo")
public class ServerApplication {

    public static void main(String[] args) {
        SpringApplication.run( ServerApplication.class, args );
    }

}
